package top.infopub.mgr.bpa.dao;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import top.infopub.generic.GenericDao;
import top.infopub.model.bpa.IncaeSureList;

/** 对内确权-清单模式(BPA_INCAE_SURE_LIST) **/
public interface IncaeSureListDao extends GenericDao<IncaeSureList, String> {

    /**
     * 批量添加对内确权-清单模式
     */
    void insertByBatch(@Param("list")List<IncaeSureList> incaeSureLists);
    
    /**
     * 根据分项名称和refid查询开累对内确权总金额
     * @param subName 分项名称
     * @param refId
     * @return 
     * @see
     */
    BigDecimal selectAddupAmountBySubNameAndRefId(@Param("subName")String subName, @Param("refId")String refId);

	
}